.wheat-input,
.wheat-input_m {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 32px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.wheat-input ::-webkit-input-placeholder,
.wheat-input_m ::-webkit-input-placeholder {
  color: var(--color-gray-50);
}
.wheat-input :-moz-placeholder,
.wheat-input_m :-moz-placeholder {
  color: var(--color-gray-50);
}
.wheat-input ::-moz-placeholder,
.wheat-input_m ::-moz-placeholder {
  color: var(--color-gray-50);
}
.wheat-input :-ms-input-placeholder,
.wheat-input_m :-ms-input-placeholder {
  color: var(--color-gray-50);
}
.wheat-input input,
.wheat-input_m input {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  border: none;
  outline: none;
  min-height: 30px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: var(--color-black);
  font-size: 14px;
  line-height: 22px;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.wheat-input input.disabled,
.wheat-input_m input.disabled {
  color: var(--color-gray-50);
  background-color: var(--color-gray-10);
}
.wheat-input input[type='search'],
.wheat-input_m input[type='search'] {
  -webkit-appearance: none;
}
.wheat-input ::-webkit-search-cancel-button,
.wheat-input_m ::-webkit-search-cancel-button {
  display: none;
}
.wheat-input .wheat-input__out,
.wheat-input_m .wheat-input__out {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  height: 100%;
}
.wheat-input .wheat-input__inner,
.wheat-input_m .wheat-input__inner {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  border: 1px solid var(--color-gray-30);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 2px;
  background-color: var(--color-white);
  -webkit-transition: border-color 0.3s;
  transition: border-color 0.3s;
}
.wheat-input .wheat-input__inner:not(.disabled):hover,
.wheat-input_m .wheat-input__inner:not(.disabled):hover {
  border-color: var(--color-primary);
}
.wheat-input .wheat-input__inner.active,
.wheat-input_m .wheat-input__inner.active {
  border-color: var(--color-primary);
}
.wheat-input .wheat-input__inner.disabled,
.wheat-input_m .wheat-input__inner.disabled {
  color: var(--color-gray-50);
  background-color: var(--color-gray-10);
}
.wheat-input__fix-box,
.wheat-input_m__fix-box {
  display: inline-block;
  width: 12px;
  height: auto;
  padding: 0 18px 0 2px;
  -webkit-box-flex: 1;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
  cursor: pointer;
  opacity: 1;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.wheat-input__fix-box.invisible,
.wheat-input_m__fix-box.invisible {
  visibility: hidden;
  opacity: 0;
}
.wheat-input__fix-box .wheat-input__clear,
.wheat-input_m__fix-box .wheat-input__clear {
  display: block;
  border-radius: 50%;
  color: var(--color-gray-50);
  font-size: 22px;
  text-align: center;
}
.wheat-input__fix-box .wheat-input__clear:hover,
.wheat-input_m__fix-box .wheat-input__clear:hover {
  color: var(--color-black);
}
.wheat-input__fix-box .wheat-input__suffix__icon,
.wheat-input_m__fix-box .wheat-input__suffix__icon {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  line-height: 14px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 14px;
}
.wheat-input__text,
.wheat-input_m__text {
  width: 100%;
  padding: 4px 12px;
}
.wheat-input__prefix,
.wheat-input__suffix,
.wheat-input_m__prefix,
.wheat-input_m__suffix {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-flex: 1;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
  color: var(--color-black);
  font-size: 14px;
  line-height: 30px;
}
.wheat-input__prefix,
.wheat-input_m__prefix {
  padding-left: 12px;
}
.wheat-input__suffix,
.wheat-input_m__suffix {
  padding-right: 12px;
}
.wheat-input--prepend .wheat-input__inner,
.wheat-input_m--prepend .wheat-input__inner {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.wheat-input__prepend .hi-btn,
.wheat-input__prepend .hi-select__input,
.wheat-input_m__prepend .hi-btn,
.wheat-input_m__prepend .hi-select__input {
  border-right-color: transparent;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}
.wheat-input--append .wheat-input__inner,
.wheat-input_m--append .wheat-input__inner {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.wheat-input__append,
.wheat-input_m__append {
  color: var(--color-primary);
}
.wheat-input__append .hi-btn,
.wheat-input__append .hi-select__input,
.wheat-input_m__append .hi-btn,
.wheat-input_m__append .hi-select__input {
  border-left-color: transparent;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}
.wheat-input.required::after,
.wheat-input_m.required::after {
  position: absolute;
  top: 0;
  content: '*';
  right: -30px;
  width: 30px;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #f44343;
}